package com.permission.entity;

import lombok.Data;

import java.io.Serializable;


/**
 * 权限实体类
 * @author my
 */
@Data
public class Permission implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     * 权限名称
     */
    private String name;

    /**
     * 权限地址
     */
    private String purl;

    /**
     * 权限码
     */
    private String pcode;

    /**
     * 父权限id
     */
    private Integer pid;

    /**
     * 权限的类型(1:菜单  2:按钮 3:目录)
     */
    private Integer ptype;

    private static final long serialVersionUID = 1L;
}

